{empty name="list"}
    <tr>
        <td class="no-data" align="center" axis="col0" colspan="50">
            <div class="no_row">
                <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
            </div>
        </td>
    </tr>
{else/}
    {foreach name="list" item="vo" key="k" }
    <tr class="tr">
        <td class="operation">
            <div class="w40 tc">{$k+1}</div>
        </td>
        <td style="width: 100%">
            <div class="text-l10">
                <input type="text" name="word[]" value="{$vo.word}" onchange="changeTableVal('search_hot', 'id', '{$vo.id}', 'word', this);" class="tl">
            </div>
        </td>
        <td class="operation">
            <div class="w80 tc">
                {eq name="'Search@hot_keywords_del'|is_check_access" value="1"}
                <a class="btn red" href="javascript:void(0);" onclick="deleteKeywords({$vo.id});">删除</a>
                {/eq}
            </div>
        </td>
        <td class="sort">
            <div class="w80 tc">
                <input type="text" onchange="changeTableVal('search_hot', 'id', '{$vo.id}', 'sort_order' ,this);" size="4" value="{$vo.sort_order}">
            </div>
        </td>
    </tr>
    {/foreach}
    {notempty name="$focus"}
    <script type="text/javascript">
        $(document).ready(function() {
            $('input[name^=word]').eq($('.tr').length - 1).focus();
        });
    </script>
    {/notempty}
{/empty}